<!doctype html>
<html lang="en">
<head>
    @include('web.layout.head')
    <script src="{{mix('/js/web/frame/jedate/jquery.jedate.js')}}"></script>
    <link rel="stylesheet" href="{{mix('/js/web/frame/jedate/skin/jedate.css')}}">
    <link rel="stylesheet" href="{{mix('/css/web/user/ebao.css')}}">
</head>
<body>
@include('web.layout.header')
@include('web.layout.user_tab')
<div class="base_member_content">
    <div class="w1200">
        @include('web.layout.seller_nav')
        <div class="nav_right flr">
            <div class="base_content">
                <div class="line_title">交易记录</div>
                <div class="marryst">
                    <form action="" method="get">
                      <span>交易时间</span>
                      <input name="created_at[start]" class="datainp" id="inpstart" type="text" placeholder="开始日期" readonly="" value="">
                      <span>至</span>
                      <input name="created_at[end]" class="datainp" id="inpend" type="text" placeholder="结束日期" readonly="" value="">
                      <span>交易时间</span>
                      <input name="keyword" class="keyword" id="keyword" type="text" placeholder="订单号/流水号/对方信息" value="">
                      <span>资金流向</span>
                      <select name="is_money_flow">
                          <option value="">请选择</option>
                          <option value="1">支出</option>
                          <option value="0">收入</option>
                      </select>
                      <span>交易状态</span>
                      <select name="is_for_sale">
                          <option value="">请选择</option>
                          <option value="1">交易成功</option>
                          <option value="2">等待确认收货</option>
                          <option value="3">等待卖家发货</option>
                      </select>
                      <input type="submit" class="buttonn" value="查询">
                    </form>
                </div>
                <div class="table">
                    <table>
                        <thead>
                        <tr>
                            <th width="120">交易时间</th>
                            <th width="240" class="text-left">对方 | 交易号</th>
                            <th width="140">金额</th>
                            <th width="200" class="text-left">状态 | 订单号</th>
                            <th width="120">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td>2018.03.28</td>
                                <td class="text-left">
                                    <p>深圳麦格米特电气股份有限公司</p>
                                    <font>交易号:2018032821001004270507645352</font>
                                </td>
                                <td>- 83150.00</td>
                                <td class="text-left">
                                    <p>等待卖家发货</p>
                                    <font>订单号:1522228101230</font>
                                </td>
                                <td><a href="/seller/trade_details" target="_blank">详情 <img src="{{asset('/img/web/user/xia_sj.png')}}"></a></td>
                            </tr>
                            <tr>
                                <td>2018.03.28</td>
                                <td class="text-left">
                                    <p>深圳麦格米特电气股份有限公司</p>
                                    <font>交易号:2018032821001004270507645352</font>
                                </td>
                                <td>+ 83150.00</td>
                                <td class="text-left">
                                    <p>等待卖家发货</p>
                                    <font>订单号:1522228101230</font>
                                </td>
                                <td><a href="/seller/trade_details" target="_blank">详情 <img src="{{asset('/img/web/user/xia_sj.png')}}"></a></td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div class="page">
                    include('web.common.paginate')
                </div>
            </div>
        </div>
    </div>
</div>
<div class="bg_h"></div>


@include('web.layout.footer')
<script type="text/javascript">
    var start = {
        format: 'YYYY-MM-DD hh:mm',
        minDate: '2014-06-16 23:59:59', //设定最小日期为当前日期
        //festival:true,
        maxDate: $.nowDate({DD:0}), //最大日期
        choosefun: function(elem,datas){
            end.minDate = datas; //开始日选好后，重置结束日的最小日期
            endDates();
        },
        okfun:function (elem,datas) {
            alert(datas)
        }
    };
    var end = {
        format: 'YYYY-MM-DD hh:mm',
        minDate: $.nowDate({DD:0}), //设定最小日期为当前日期
        //festival:true,
        maxDate: '2099-06-16 23:59:59', //最大日期
        choosefun: function(elem,datas){
            start.maxDate = datas; //将结束日的初始值设定为开始日的最大日期
        }
    };
    function endDates() {
        end.trigger = false;
        $("#inpend").jeDate(end);
    }
    $("#inpstart").jeDate(start);
    $("#inpend").jeDate(end);

    $(function(){

    });

</script>
</body>
</html>